<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2007-9-10
  Time: 21:51:53
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="/common/taglib.jsp" %>
<%--
<a href="/admin/articleManage.do?addArticleForm">添加</a>
<table>
    <c:forEach items="${actionBean.articles}" var="article">
        <tr>
            <td>${article.title}</td>
            <td><a href="/admin/articleManage.do?id=${article.id}&addArticleForm">修改</a></td>
        </tr>
    </c:forEach>
</table>--%>

<table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
        <td height="73">
            <table width="100%" height="12%" border="1" align="center" cellpadding="0" cellspacing="0"
                   bordercolor="#FFFFFF">
                <tr align="center">
                    <td width="75%" height="32">文章题目（加入时间）</td>
                    <td width="9%">审核</td>
                    <td width="8%">编辑</td>
                    <td width="8%">删除</td>
                </tr>

                <c:forEach items="${actionBean.articles.elements}" var="article">
                    <tr align="center">
                        <td width="75%" height="32">${article.title}</td>
                        <td width="9%">审核</td>
                        <td width="8%"><a href="/admin/articleManage.do?addArticleForm&id=${article.id}">编辑</a></td>
                        <td width="8%"><a href="/admin/articleManage.do?deleteArticle&id=${article.id}">删除</a></td>
                    </tr>
                </c:forEach>

            </table>
            <i:page curPage="${actionBean.articles.pageNumber}" totalCount="${actionBean.articles.totalElements}" viewCount="${actionBean.articles.pageSize}"/>
        </td>
    </tr>
</table>
